package org.spring.controller;

import org.spring.domain.Teacher;

import java.util.List;

public interface TeacherController {

    void insert(Teacher teacher);

    void delete(Integer id);

    void update(Teacher teacher);

    String findAll();

    Teacher findOne(Integer id);
}
